<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>中科易购</title>
		<meta name="divport" content="width=device-width, initial-scale=1">
		<!-- 引入样式 -->
		<!-- 使用rem，需另外引入ydui.flexible.js自适应类库 -->
		<link rel="stylesheet" href="/static/css/ydui.rem.css" />
		<link rel="stylesheet" href="/static/css/styles.css" />

		<!-- 引入rem自适应类库 -->
		<!-- <script src="//unpkg.com/vue-ydui/dist/ydui.flexible.js"></script> -->
		<script src="/static/js/flexible.js"></script>
		<!-- 引入Vue2.x -->
		<script src="/static/js/vue.min.js"></script>
		<!-- 引入组件库 -->
		<script src="/static/js/ydui.rem.js"></script>
		<script src="/static/js/jquery.js"></script>
		<script src="/static/js/index.js"></script>
	</head>
	<body>
		<div id="app" class="app">
			<div v-if='isym' class="cont">
				<div class="cont_title">用户注册</div>
				<div class="cont_box">
					<div class="cont_item">
						<div class="cont_text">手机号</div>
						<input class="input_text" name="phone" type="number" v-model="phone" placeholder="输入您的手机号" maxlength="11"
						 placeholder-style="color:#A3A3A3" bindinput="inputPhoneNum"></input>
					</div>
					<div class="cont_item">
						<div class="cont_text">验证码</div>
						<input class="input_text" type="text" v-model="code" name="code" placeholder="填写验证码" maxlength="4"
						 placeholder-style="color:#A3A3A3" bindinput="inputPhoneCode"></input>
						<div class="getCode" @click="getCode">{{codeText}}</div>
					</div>

				</div>
				<div class="reg_btn" @click="register">注册</div>
				<div class="zkyg-f">
					<div class="zkyg">中科易购</div>
				</div>
			</div>
			<!-- 下载页面 -->
			<div v-else class="xiazai">
			    <div class="xiazai-img">
			      <image style="width: 7rem;height: 7rem;" src="/static/img/log.png" mode=""></image>
				</div>
				<div class="xiazai-btn">中科易购</div>
				<div class="reg_btn" @click="XZ">下载</div>
			</div>
			<!-- 提示框 -->
			<div class="tsk" v-if="text">
				<div class="tsk1">
					{{text}}
				</div>
			</div>
		</div>
		<script>
			index()			
		</script>
	</body>
</html>
